package com.nightpiter.view.graphics.impl;

import android.graphics.PathDashPathEffect;

import com.nightpiter.view.graphics.abstaractions.AbstractPathDashPathEffect;

public class AndroidPathDashPathEffect extends AndroidPathEffect implements
		AbstractPathDashPathEffect {

	public static android.graphics.PathDashPathEffect.Style cast(
			Style aStyle) {

		if (aStyle == Style.MORPH) {
			return android.graphics.PathDashPathEffect.Style.MORPH;
		} else if (aStyle == Style.ROTATE) {
			return android.graphics.PathDashPathEffect.Style.ROTATE;
		} else {
			return android.graphics.PathDashPathEffect.Style.TRANSLATE;
		}
	}

	public AndroidPathDashPathEffect(PathDashPathEffect p) {
		super(p);
	}

	public PathDashPathEffect getPathDashPathEffect() {
		assert(effect instanceof PathDashPathEffect);
		return (PathDashPathEffect)effect;
	}

}
